package com.ybwh.springboot2.filetree.mapper;


import com.gitee.fastmybatis.core.mapper.CrudMapper;
import com.github.pagehelper.Page;
import com.ybwh.springboot2.filetree.model.entity.FileTreePermGroup;
import org.apache.ibatis.annotations.Param;

/**
* 文件树权限组DAO
*
* @author youbeiwuhuan
* @date 2023-05-27 11:11:25
*/
public interface FileTreePermGroupMapper extends CrudMapper<FileTreePermGroup/*实体类*/, java.lang.Long/*主键类型*/> {

    /**
    * 分页查询
    *
    * @param param    查询参数
    * @param pageNum  页号
    * @param pageSize 页大小
    * @return
    */
    Page<FileTreePermGroup> selectByPage(
        @Param("param") FileTreePermGroup param,
        @Param("pageNum") int pageNum,
        @Param("pageSize") int pageSize);

}